package spring.spring_blog.pojo.request;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class registerReq {
    @NotNull(message = "username不能为空")
    private String userName;

    @NotNull(message = "password不能为空")
    private String password;

//    @TableField(insertStrategy = FieldStrategy.NOT_EMPTY)
//    private String githubUrl;
}
